﻿@using TSharp.Core.Appbox.Controllers
@using System.Linq.Expressions;
@using System.Linq;
@model  List<PathInfo>
@{
    ViewBag.Title = "Home Page";
    //Layout = "~/Views/Shared/_MINIPROFILER UPDATED Layout.cshtml";
}
<h2>@ViewBag.Message</h2>
<br />
@using (Html.BeginForm<HomeController>(c => c.Index(), FormMethod.Post, new { content = "asf" }))
{   
    @Html.TextBox("abc")
    @Html.ValidationMessage("abc")
    <br>
   @Html.MvcCaptcha()
     <input type="submit" value="提交" />
    @:这里是form内容
    <table>
        <thead>
            <td>
                Type
            </td>
            <td>
                Path
            </td>
        </thead>
        @foreach (var m in Model)
        {
            <tr>
                <td>
                    Environment.@m.Enum
                </td>
                <td>
                    @m.Path
                </td>
            </tr>
        }
    </table>  
   
}